namespace ShareMarking.Entity {
    	using System;


    /// <summary>
    /// 表名：qr_Check 主键列：
    /// </summary>
    [SerializableAttribute()]
    public partial class qr_Check : MySoft.Data.Entity
    {

        protected String _qrtype;

        protected String _rel_code;

        protected String _scene_id;

        protected String _code_url;

        protected String _httpcode_url;

        protected Boolean? _iseqccode_url;

        protected String _message1;

        protected String _vigomessage1;

        protected Boolean? _iseq1;

        protected String _message2;

        protected String _vigomessage2;

        protected Boolean? _iseq2;

        protected String _message3;

        protected String _vigomessage3;

        protected Boolean? _iseq3;

        protected String _message4;

        protected String _vigomessage4;

        protected Boolean? _iseq4;

        protected String _message5;

        protected String _vigomessage5;

        protected Boolean? _iseq5;

        public String qrtype
        {
            get
            {
                return this._qrtype;
            }
            set
            {
                this.OnPropertyValueChange(_.qrtype, _qrtype, value);
                this._qrtype = value;
            }
        }

        public String rel_code
        {
            get
            {
                return this._rel_code;
            }
            set
            {
                this.OnPropertyValueChange(_.rel_code, _rel_code, value);
                this._rel_code = value;
            }
        }

        public String scene_id
        {
            get
            {
                return this._scene_id;
            }
            set
            {
                this.OnPropertyValueChange(_.scene_id, _scene_id, value);
                this._scene_id = value;
            }
        }

        public String code_url
        {
            get
            {
                return this._code_url;
            }
            set
            {
                this.OnPropertyValueChange(_.code_url, _code_url, value);
                this._code_url = value;
            }
        }

        public String httpcode_url
        {
            get
            {
                return this._httpcode_url;
            }
            set
            {
                this.OnPropertyValueChange(_.httpcode_url, _httpcode_url, value);
                this._httpcode_url = value;
            }
        }

        public Boolean? iseqccode_url
        {
            get
            {
                return this._iseqccode_url;
            }
            set
            {
                this.OnPropertyValueChange(_.iseqccode_url, _iseqccode_url, value);
                this._iseqccode_url = value;
            }
        }

        public String message1
        {
            get
            {
                return this._message1;
            }
            set
            {
                this.OnPropertyValueChange(_.message1, _message1, value);
                this._message1 = value;
            }
        }

        public String vigomessage1
        {
            get
            {
                return this._vigomessage1;
            }
            set
            {
                this.OnPropertyValueChange(_.vigomessage1, _vigomessage1, value);
                this._vigomessage1 = value;
            }
        }

        public Boolean? iseq1
        {
            get
            {
                return this._iseq1;
            }
            set
            {
                this.OnPropertyValueChange(_.iseq1, _iseq1, value);
                this._iseq1 = value;
            }
        }

        public String message2
        {
            get
            {
                return this._message2;
            }
            set
            {
                this.OnPropertyValueChange(_.message2, _message2, value);
                this._message2 = value;
            }
        }

        public String vigomessage2
        {
            get
            {
                return this._vigomessage2;
            }
            set
            {
                this.OnPropertyValueChange(_.vigomessage2, _vigomessage2, value);
                this._vigomessage2 = value;
            }
        }

        public Boolean? iseq2
        {
            get
            {
                return this._iseq2;
            }
            set
            {
                this.OnPropertyValueChange(_.iseq2, _iseq2, value);
                this._iseq2 = value;
            }
        }

        public String message3
        {
            get
            {
                return this._message3;
            }
            set
            {
                this.OnPropertyValueChange(_.message3, _message3, value);
                this._message3 = value;
            }
        }

        public String vigomessage3
        {
            get
            {
                return this._vigomessage3;
            }
            set
            {
                this.OnPropertyValueChange(_.vigomessage3, _vigomessage3, value);
                this._vigomessage3 = value;
            }
        }

        public Boolean? iseq3
        {
            get
            {
                return this._iseq3;
            }
            set
            {
                this.OnPropertyValueChange(_.iseq3, _iseq3, value);
                this._iseq3 = value;
            }
        }

        public String message4
        {
            get
            {
                return this._message4;
            }
            set
            {
                this.OnPropertyValueChange(_.message4, _message4, value);
                this._message4 = value;
            }
        }

        public String vigomessage4
        {
            get
            {
                return this._vigomessage4;
            }
            set
            {
                this.OnPropertyValueChange(_.vigomessage4, _vigomessage4, value);
                this._vigomessage4 = value;
            }
        }

        public Boolean? iseq4
        {
            get
            {
                return this._iseq4;
            }
            set
            {
                this.OnPropertyValueChange(_.iseq4, _iseq4, value);
                this._iseq4 = value;
            }
        }

        public String message5
        {
            get
            {
                return this._message5;
            }
            set
            {
                this.OnPropertyValueChange(_.message5, _message5, value);
                this._message5 = value;
            }
        }

        public String vigomessage5
        {
            get
            {
                return this._vigomessage5;
            }
            set
            {
                this.OnPropertyValueChange(_.vigomessage5, _vigomessage5, value);
                this._vigomessage5 = value;
            }
        }

        public Boolean? iseq5
        {
            get
            {
                return this._iseq5;
            }
            set
            {
                this.OnPropertyValueChange(_.iseq5, _iseq5, value);
                this._iseq5 = value;
            }
        }

        /// <summary>
        /// 获取实体对应的表名
        /// </summary>
        protected override MySoft.Data.Table GetTable()
        {
            return new MySoft.Data.Table<qr_Check>("qr_Check");
        }

        /// <summary>
        /// 获取列信息
        /// </summary>
        protected override MySoft.Data.Field[] GetFields()
        {
            return new MySoft.Data.Field[] {
    					_.qrtype,
    					_.rel_code,
    					_.scene_id,
    					_.code_url,
    					_.httpcode_url,
    					_.iseqccode_url,
    					_.message1,
    					_.vigomessage1,
    					_.iseq1,
    					_.message2,
    					_.vigomessage2,
    					_.iseq2,
    					_.message3,
    					_.vigomessage3,
    					_.iseq3,
    					_.message4,
    					_.vigomessage4,
    					_.iseq4,
    					_.message5,
    					_.vigomessage5,
    					_.iseq5};
        }

        /// <summary>
        /// 获取列数据
        /// </summary>
        protected override object[] GetValues()
        {
            return new object[] {
    					this._qrtype,
    					this._rel_code,
    					this._scene_id,
    					this._code_url,
    					this._httpcode_url,
    					this._iseqccode_url,
    					this._message1,
    					this._vigomessage1,
    					this._iseq1,
    					this._message2,
    					this._vigomessage2,
    					this._iseq2,
    					this._message3,
    					this._vigomessage3,
    					this._iseq3,
    					this._message4,
    					this._vigomessage4,
    					this._iseq4,
    					this._message5,
    					this._vigomessage5,
    					this._iseq5};
        }

        /// <summary>
        /// 给当前实体赋值
        /// </summary>
        protected override void SetValues(MySoft.Data.IRowReader reader)
        {
            if ((false == reader.IsDBNull(_.qrtype)))
            {
                this._qrtype = reader.GetString(_.qrtype);
            }
            if ((false == reader.IsDBNull(_.rel_code)))
            {
                this._rel_code = reader.GetString(_.rel_code);
            }
            if ((false == reader.IsDBNull(_.scene_id)))
            {
                this._scene_id = reader.GetString(_.scene_id);
            }
            if ((false == reader.IsDBNull(_.code_url)))
            {
                this._code_url = reader.GetString(_.code_url);
            }
            if ((false == reader.IsDBNull(_.httpcode_url)))
            {
                this._httpcode_url = reader.GetString(_.httpcode_url);
            }
            if ((false == reader.IsDBNull(_.iseqccode_url)))
            {
                this._iseqccode_url = reader.GetBoolean(_.iseqccode_url);
            }
            if ((false == reader.IsDBNull(_.message1)))
            {
                this._message1 = reader.GetString(_.message1);
            }
            if ((false == reader.IsDBNull(_.vigomessage1)))
            {
                this._vigomessage1 = reader.GetString(_.vigomessage1);
            }
            if ((false == reader.IsDBNull(_.iseq1)))
            {
                this._iseq1 = reader.GetBoolean(_.iseq1);
            }
            if ((false == reader.IsDBNull(_.message2)))
            {
                this._message2 = reader.GetString(_.message2);
            }
            if ((false == reader.IsDBNull(_.vigomessage2)))
            {
                this._vigomessage2 = reader.GetString(_.vigomessage2);
            }
            if ((false == reader.IsDBNull(_.iseq2)))
            {
                this._iseq2 = reader.GetBoolean(_.iseq2);
            }
            if ((false == reader.IsDBNull(_.message3)))
            {
                this._message3 = reader.GetString(_.message3);
            }
            if ((false == reader.IsDBNull(_.vigomessage3)))
            {
                this._vigomessage3 = reader.GetString(_.vigomessage3);
            }
            if ((false == reader.IsDBNull(_.iseq3)))
            {
                this._iseq3 = reader.GetBoolean(_.iseq3);
            }
            if ((false == reader.IsDBNull(_.message4)))
            {
                this._message4 = reader.GetString(_.message4);
            }
            if ((false == reader.IsDBNull(_.vigomessage4)))
            {
                this._vigomessage4 = reader.GetString(_.vigomessage4);
            }
            if ((false == reader.IsDBNull(_.iseq4)))
            {
                this._iseq4 = reader.GetBoolean(_.iseq4);
            }
            if ((false == reader.IsDBNull(_.message5)))
            {
                this._message5 = reader.GetString(_.message5);
            }
            if ((false == reader.IsDBNull(_.vigomessage5)))
            {
                this._vigomessage5 = reader.GetString(_.vigomessage5);
            }
            if ((false == reader.IsDBNull(_.iseq5)))
            {
                this._iseq5 = reader.GetBoolean(_.iseq5);
            }
        }

        public override int GetHashCode()
        {
            return base.GetHashCode();
        }

        public override bool Equals(object obj)
        {
            if ((obj == null))
            {
                return false;
            }
            if ((false == typeof(qr_Check).IsAssignableFrom(obj.GetType())))
            {
                return false;
            }
            if ((((object)(this)) == ((object)(obj))))
            {
                return true;
            }
            return false;
        }

        public class _
        {

            /// <summary>
            /// 表示选择所有列，与*等同
            /// </summary>
            public static MySoft.Data.AllField All = new MySoft.Data.AllField<qr_Check>();

            /// <summary>
            /// 字段名：qrtype - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field qrtype = new MySoft.Data.Field<qr_Check>("qrtype");

            /// <summary>
            /// 字段名：rel_code - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field rel_code = new MySoft.Data.Field<qr_Check>("rel_code");

            /// <summary>
            /// 字段名：scene_id - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field scene_id = new MySoft.Data.Field<qr_Check>("scene_id");

            /// <summary>
            /// 字段名：code_url - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field code_url = new MySoft.Data.Field<qr_Check>("code_url");

            /// <summary>
            /// 字段名：httpcode_url - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field httpcode_url = new MySoft.Data.Field<qr_Check>("httpcode_url");

            /// <summary>
            /// 字段名：iseqccode_url - 数据类型：Boolean(可空)
            /// </summary>
            public static MySoft.Data.Field iseqccode_url = new MySoft.Data.Field<qr_Check>("iseqccode_url");

            /// <summary>
            /// 字段名：message1 - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field message1 = new MySoft.Data.Field<qr_Check>("message1");

            /// <summary>
            /// 字段名：vigomessage1 - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field vigomessage1 = new MySoft.Data.Field<qr_Check>("vigomessage1");

            /// <summary>
            /// 字段名：iseq1 - 数据类型：Boolean(可空)
            /// </summary>
            public static MySoft.Data.Field iseq1 = new MySoft.Data.Field<qr_Check>("iseq1");

            /// <summary>
            /// 字段名：message2 - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field message2 = new MySoft.Data.Field<qr_Check>("message2");

            /// <summary>
            /// 字段名：vigomessage2 - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field vigomessage2 = new MySoft.Data.Field<qr_Check>("vigomessage2");

            /// <summary>
            /// 字段名：iseq2 - 数据类型：Boolean(可空)
            /// </summary>
            public static MySoft.Data.Field iseq2 = new MySoft.Data.Field<qr_Check>("iseq2");

            /// <summary>
            /// 字段名：message3 - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field message3 = new MySoft.Data.Field<qr_Check>("message3");

            /// <summary>
            /// 字段名：vigomessage3 - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field vigomessage3 = new MySoft.Data.Field<qr_Check>("vigomessage3");

            /// <summary>
            /// 字段名：iseq3 - 数据类型：Boolean(可空)
            /// </summary>
            public static MySoft.Data.Field iseq3 = new MySoft.Data.Field<qr_Check>("iseq3");

            /// <summary>
            /// 字段名：message4 - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field message4 = new MySoft.Data.Field<qr_Check>("message4");

            /// <summary>
            /// 字段名：vigomessage4 - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field vigomessage4 = new MySoft.Data.Field<qr_Check>("vigomessage4");

            /// <summary>
            /// 字段名：iseq4 - 数据类型：Boolean(可空)
            /// </summary>
            public static MySoft.Data.Field iseq4 = new MySoft.Data.Field<qr_Check>("iseq4");

            /// <summary>
            /// 字段名：message5 - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field message5 = new MySoft.Data.Field<qr_Check>("message5");

            /// <summary>
            /// 字段名：vigomessage5 - 数据类型：String
            /// </summary>
            public static MySoft.Data.Field vigomessage5 = new MySoft.Data.Field<qr_Check>("vigomessage5");

            /// <summary>
            /// 字段名：iseq5 - 数据类型：Boolean(可空)
            /// </summary>
            public static MySoft.Data.Field iseq5 = new MySoft.Data.Field<qr_Check>("iseq5");
        }
    }
}
